package com.system.demo.doMain.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class User {

    private String name;
    @JsonIgnore
    private String password;
    private String avatar;
    private String address;
    private String position;

    public User() {
    }

    public User(String name, String password, String avatar, String address, String position) {
        this.name = name;
        this.password = password;
        this.avatar = avatar;
        this.address = address;
        this.position = position;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}
